package com.hgyc.mom.mes.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;

import com.hgyc.mom.common.annotation.Excel;
import com.hgyc.mom.core.mybatis.EQ;
import com.hgyc.mom.core.mybatis.Like;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <p>
 * 推送记录
 * </p>
 *
 * @author fwj
 * @since 2025-06-27
 */
@Data
@TableName("sop_send_record")
@Schema(name="推送记录 对象", description="推送记录 对象")
public class SopSendRecord implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @Schema(description = "逻辑ID")
    private Long id;

    @Excel(name = "文档ID")
    @EQ
    @Schema(description = "文档集ID")
    private Long manageId;

    @Excel(name = "文档ID")
    @EQ
    @Schema(description = "文档ID")
    private Long documentId;

    @Excel(name = "物料ID")
    @EQ
    @Schema(description = "物料ID")
    private Long materialId;

    @Excel(name = "文件名")
    @EQ
    @Schema(description = "文件名")
    private String fileName;

    @Excel(name = "文件地址")
    @EQ
    @Schema(description = "文件地址")
    private String fileUrl;

    @Excel(name = "文件类型")
    @EQ
    @Schema(description = "文件类型")
    private String fileType;

    @Excel(name = "文件大小(KB)")
    @EQ
    @Schema(description = "文件大小(KB)")
    private Long fileSize;

    @Excel(name = "产线ID")
    @EQ
    @Schema(description = "产线ID")
    private Long lineId;

    @Excel(name = "工位ID")
    @EQ
    @Schema(description = "工位ID")
    private Long stationId;

    @Excel(name = "工序ID")
    @EQ
    @Schema(description = "工序ID")
    private Long processId;

    @Excel(name = "终端ID")
    @EQ
    @Schema(description = "终端ID")
    private Long terminalId;

    @Excel(name = "终端IP")
    @EQ
    @Schema(description = "终端IP")
    private String ip;

    @Excel(name = "备注")
    @Schema(description = "备注")
    private String remark;

    @Excel(name = "状态")
    @EQ
    @Schema(description = "状态")
    private String status;

    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "创建者")
    private Long createBy;

    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.UPDATE)
    @Schema(description = "更新者")
    private Long updateBy;

    @TableField(fill = FieldFill.UPDATE)
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

}
